package model

import "time"

type CommentLikes struct {
	LikeId    uint      `gorm:"column:like_id;type:bigint UNSIGNED;primaryKey;not null;" json:"like_id"`
	CommentId uint      `gorm:"column:comment_id;type:bigint UNSIGNED;not null;" json:"comment_id"`
	UserId    uint      `gorm:"column:user_id;type:bigint UNSIGNED;not null;" json:"user_id"`
	CreatedAt time.Time `gorm:"column:created_at;type:datetime(3);not null;" json:"created_at"`
}

func (cl *CommentLikes) TableName() string {
	return "comment_likes"
}
